package com.zoro.barn.business.service.sqldocument.business.sql.dao;

import com.zoro.barn.business.service.sqldocument.business.sql.entity.BarnSqlUsage;
import com.zoro.barn.commons.db.annotations.MybatisMapper;

import java.util.Collection;
import java.util.List;

/**
 * @author zhaoxingwu
 */
@MybatisMapper
public interface BarnSqlUsageMapper {

    void insertBatch(Collection<BarnSqlUsage> usages);

    void deleteBySqlId(String sqlId);

    List<BarnSqlUsage> getBySqlId(String sqlId);

}
